home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
dev
/
src
/
BListView.readme
< prev
next >
Wrap
Text File
|
1998-01-05
|
4KB
|
97 lines
Short: Fast boopsi ListView with many features (demo + C source)
Author: bernie@shock.cosmos.it (Bernardo Innocenti)
Uploader: bernie@shock.cosmos.it (Bernardo Innocenti)
Version: 1.5
Type: dev/src
boopsi ListView implementation. Looks like the GadTools LISTVIEW_KIND,
but it handles selection of multiple items and it can be resized on the
fly. GFLG_REL#? attributes are supported and you can even display a list
of images and other boopsi objects. Lists with multiple columns are
possible but not currently implemented. Horizontal scrolling would also
be easy to add.
Three different versions are included:
LVDemo_Generic
Works even on plain 68000 and includes OS 2.0 support
LVDemo_020_OS30
Optimized for 68020, no OS 2.0 support
LVDemo_Trace
Outputs debug messages with kprintf(), view them with
serial terminal or sushi
Some features:
+ Easy to use (almost a drop-in replacement for LISTVIEW_KIND)
+ Can be resized and supports GREL_#? flags
+ Multiple selection of items
+ Notifies your `boopsi' sliders
+ Multiple columns (TODO)
+ Redraws quickly without clearing
(which is good for solid window sizing)
+ Horizontal scrolling (TODO)
+ Items with `boopsi' images
+ Using arrays instead of exec lists
+ You can use `boopsi' label images instead of plain text
+ You can use your own custom rendering hook
+ You can use your own item item-retriving callback hook
+ List title (TODO)
+ Full Keyboard control (all control, alt and shift key
combinations supported)
+ Asynchronous scrolling with inertia (TODO)
+ OS 3.0 optimized (V39-only version also available)
+ RTG friendly and optimized (no planar stuff in chunky bitmaps)
+ Small code! (<10K)
+ Written in C to be highly portable across compilers and CPUs
+ Full commented source code included
+ Source code compiles with SAS/C, StormC and GCC
+ Subclasses can be easlily derived from the base listview class
The source code shows how to:
* Build a `boopsi' class on top of the gadgetclass
* Write a `boopsi' dispatcher with complex input handling
* Use `boopsi' sysiclass images
* Connect `boopsi' objects together with the icclass
* Overlay the buttongclass to make a scroll button
* Create a sizeable window with sliders
* Make a C program without startup
* Correctly opening/closing libraries, windows and other
system resources
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
2365 1211 48.7% 06-Nov-97 12:13:42 +BListView.readme
17640 9303 47.2% 06-Nov-97 11:55:16 +LVDemo
17280 9178 46.8% 06-Nov-97 12:02:10 +LVDemo_020_OS30
31140 14269 54.1% 06-Nov-97 12:48:50 +LVDemo_Trace
4923 1272 74.1% 01-Sep-97 19:09:48 +BoopsiStubs.h
6033 1797 70.2% 26-Oct-97 18:31:40 +CompilerSpecific.h
2957 1254 57.5% 02-Nov-97 18:14:18 +Debug.h
2241 719 67.9% 27-Oct-97 22:01:28 +GNUMakefile
984 398 59.5% 31-Aug-97 16:36:08 +GST.c
4742 1724 63.6% 24-Sep-97 16:48:58 +ListBoxClass.c
645 310 51.9% 07-Sep-97 21:23:16 +ListBoxClass.h
1904 690 63.7% 09-Sep-97 20:29:00 +ListMacros.h
55031 14034 74.4% 02-Nov-97 20:22:10 +ListViewClass.c
15019 5251 65.0% 23-Sep-97 18:01:14 +ListViewClass.h
6436 1663 74.1% 02-Nov-97 18:34:54 +ListViewHooks.c
31498 10414 66.9% 06-Nov-97 11:50:18 +LVDemo.c
2558 683 73.2% 25-Sep-97 19:10:06 +LVDemo.¶
3497 1303 62.7% 06-Nov-97 11:33:48 +SMakefile
18 18 0.0% 17-Aug-97 22:05:44 +startup_gcc.s
61 61 0.0% 25-Aug-97 21:35:02 +startup_sc.s
61 61 0.0% 24-Sep-97 18:25:54 +startup_storm.s
481 292 39.2% 07-Sep-97 17:56:50 +VectorGlyphIClass.h
2700 1647 39.0% 05-Oct-97 18:48:10 +vectorglyph.image
-------- ------- ----- --------- --------
210214 77552 63.1% 11-Nov-97 22:45:54 23 files